using Microsoft.AspNetCore.Http;
using System;
using System.Text.Json.Serialization;
namespace NewFormatProject.Infrastructure.Dto.Requests.Objects
{
	public class RequestSysUsersDto{
        /// <summary>
        /// 编号
        /// </summary>
        public int id { get; set; }
		/// <summary>
		/// 姓名
		/// </summary>
		public string name { get; set; }
		/// <summary>
		/// 账号
		/// </summary>
		public string account { get; set; }
		/// <summary>
		/// 角色
		/// </summary>
		public string role { get; set; }
		/// <summary>
		/// 用户头像
		/// </summary>
		public string avatar { get; set; }
        /// <summary>
        /// 用户头像图片
        /// </summary>
        [JsonIgnore] // 忽略JSON绑定
        public IFormFile avatarImage { get; set; }
		/// <summary>
		/// 密码
		/// </summary>
		public string password { get; set; }
		/// <summary>
		/// 电话
		/// </summary>
		public string phone { get; set; }
		/// <summary>
		/// 职位
		/// </summary>
		public int? jobId { get; set; }
        public string jobName { get; set; }
        public int departmentId { get; set; }
        public string departmentName { get; set; }
        public DateTime createTime { get; set; }
        /// <summary>
        /// 是否激活
        /// </summary>
        public int isActive { get; set; }
		/// <summary>
		/// 是否禁用
		/// </summary>
		public int isBan { get; set; }
    }
}
